import { createPinia } from 'pinia';
import PiniaPlugin from 'pinia-plugin-persistedstate';
const pinia = createPinia();
pinia.use(PiniaPlugin);

//模块统一导出
export * from './modules/systerm';
export * from './modules/profile';
export * from './modules/user';
export * from './modules/configStore';

// 默认导出,给main.js使用
export default pinia;
